<?php

/**
 * sfGuardFormSignin for sfGuardAuth signin action
 *
 * @package    sfDoctrineGuardPlugin
 * @subpackage form
 * @author     Fabien Potencier <fabien.potencier@symfony-project.com>
 * @version    SVN: $Id: sfGuardFormSignin.class.php 23536 2009-11-02 21:41:21Z Kris.Wallsmith $
 */
class sfGuardFormSignin extends BasesfGuardFormSignin
{
  /**
   * @see sfForm
   */
    public function configure()
    {
        unset($this['remember']);
        
        $this->widgetSchema->setLabels(array(
            'username' => 'Nombre de Usuario',
            'password'   => 'Contraseña'
        ));

        $this->validatorSchema['username']->setMessage('required', 'Campo obligatorio. ');
        $this->validatorSchema['password']->setMessage('required', 'Campo obligatorio. ');
    }
}
